Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LOPS-1661] Fix long tests #2496

Merged
merged 3 commits into from
Sep 13, 2023
Merged

[LOPS-1661] Fix long tests #2496

merged 3 commits into from
Sep 13, 2023

Conversation

kporras07
Copy link
Contributor

@kporras07 kporras07 commented Sep 7, 2023

@kporras07 kporras07 changed the title Fix long tests [LOPS-1661] Fix long tests Sep 7, 2023
@kporras07 kporras07 marked this pull request as ready for review September 13, 2023 13:14
@kporras07 kporras07 requested a review from a team as a code owner September 13, 2023 13:14
@@ -296,6 +296,7 @@ private function addBuiltInCommandsAndHooks()
{
// List of all hooks and commands. Update via 'composer update-class-lists'
$this->commands = [
'Consolidation\\Filter\\Hooks\\FilterHooks',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this do?

(i could try reading documentation but it's easier to just ask you)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--filter to Terminus commands. It was removed by mistake in a previous PR and all of the commands tests that use that argument are failing now

if (!empty($options['from_url']) && !empty($options['to_url'])) {
$params['wp_replace_siteurl']['from_url'] = $options['from_url'];
$params['wp_replace_siteurl']['to_url'] = $options['to_url'];
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, was it something about WP search-replace that was causing the long tests to fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was one of the failing tests, probably broken since it was created and never noticed.

There were other failing tests also fixed in this PR

@kporras07 kporras07 merged commit be0691c into 3.x Sep 13, 2023
14 of 15 checks passed
@kporras07 kporras07 deleted the fix-long-tests branch September 13, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants